package com.xizi.collection;

import javax.script.ScriptEngineManager;
import java.util.HashSet;

/**
 * @author xizizzz
 * @description: TODO
 * @date 2021-6-26下午 08:58
 */
public class HashSetTest {
    public static void main(String[] args) {
        HashSet<Integer> hashSet = new HashSet<>();
        boolean add = hashSet.add(456);
        System.out.println(add);
        boolean add1 = hashSet.add(456);
        System.out.println(add1);

    }
}
